export default class ExpertKnowledge {
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/expertLibrary', 'get', params, axiosOption, httpOption);
  }
  static add (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/expertLibrary', 'post', params, axiosOption, httpOption);
  }
  static update (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/expertLibrary/update', 'post', params, axiosOption, httpOption);
  }
  static detail (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/expertLibrary/${params}`, 'get', axiosOption, httpOption);
  }
  static delete (sender, params, axiosOption, httpOption) {
    return sender.doUrl(`admin/expertLibrary/delete/${params}`, 'get', axiosOption, httpOption);
  }
  static deletes (sender, params, axiosOption, httpOption) {
    return sender.doUrl('admin/expertLibrary/delete', 'post', params, axiosOption, httpOption);
  }
}
